package com.linshengjian.snowball.payment.event;


import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.Date;

/**
 * 支付动作完成事件
 */
@Getter
public class PaymentCompleteEvent extends ApplicationEvent {

    private String voucherNo;
    private String thirdPartyVoucher;
    private Date thirdPartyTime;

    public PaymentCompleteEvent(Object source, String voucherNo, String thirdPartyVoucher, Date thirdPartyTime) {
        super(source);
        this.voucherNo = voucherNo;
        this.thirdPartyVoucher = thirdPartyVoucher;
        this.thirdPartyTime = thirdPartyTime;
    }
}
